<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:page="urn:page">
	<xsl:output method="html" encoding="utf-8"/>
	<xsl:template match="/">
		<xsl:variable name="smsaddress" select="page:xForm('address')"/>
		<xsl:variable name="content" select="page:xForm('content')"/>
		<xsl:variable name="err" select="page:xSmsSend($smsaddress,$content)"/>
		<xsl:choose>
			<xsl:when test="$err&gt;0">1,发送<xsl:value-of select="$err"/>条短信,
			</xsl:when>
			<xsl:otherwise><xsl:value-of select="$err"/>,<xsl:value-of select="page:xSmsErr($err)"/>,
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
</xsl:stylesheet>
